<{include file="public/header.html"}>	
		<div class="xinsu-right">
			<div class="xinsu-right-content">
				<div class="xinsu-data-content">
					<div class="xinsu-title">
						<span class="layui-breadcrumb">
							<a><cite>当前位置</cite></a>
							<a><cite>新闻公告</cite></a>
							<a><cite>编辑新闻公告</cite></a>
						</span>
					</div>
					<form class="layui-form xinsu-form" action="" method="post">
						<h2>新闻公告信息</h2>
						<div class="layui-form-item xinsu-form-item">
							<div class="layui-form-item">
								<label class="layui-form-label xinsu-form-label-asterisk">类别:</td>
								<div class="layui-input-inline">
									<select name="type">
										<option value="1" <{if $result.type == 1}>selected="selected"<{/if}>>公告</option>
										<option value="2"  <{if $result.type == 2}>selected="selected"<{/if}>>新闻</option>
									</select>
								</div>
							</div>
							<div class="layui-form-item">
								<label class="layui-form-label xinsu-form-label-asterisk">标题:</td>
								<div class="layui-input-inline">
									<input type="text" name="title" class="layui-input" maxlength ="255" value="<{$result.title}>"/>
								</div>
							</div>
							<div class="layui-form-item">
								<label class="layui-form-label ">外链地址:</td>
								<div class="layui-input-inline">
									<input type="text" name="url" class="layui-input" maxlength ="100" value="<{$result.url}>" placeholder="外部链接地址"/>
								</div>
							</div>
							
							<div class="layui-form-item"><label class="layui-form-label">内容:</td>
								<div class="layui-input-inline">
									<textarea name="content" rows="10" class="layui-input" style="width: 500px;height:300px"><{$result.content}></textarea>
								</div>
							</div>
							<div class="layui-form-item">
								<label class="layui-form-label">状态:</td>
								<div class="layui-input-inline">
									<select name="status">
										<option value="0" <{if $result.status == 0}>selected="selected"<{/if}>>无效</option>
										<option value="1" <{if $result.status == 1}>selected="selected"<{/if}>>有效</option>
									</select>
								</div>
							</div>
							<input type="hidden" name="id" id="id" value="<{$result.id}>" />
							<button class="layui-btn xinsu-btn xinsu-btn1" type="submit">确定</button>
							<button class="layui-btn xinsu-btn xinsu-btn2" type="reset">重置</button>
						</div>
					</form>
				</div>
			</div>
		</div>
<{include file="public/footer.html"}>